import Layout from '@/layout/index.vue'

export default [
  {
    path: '/',
    component: Layout,
    children: [
      {
        name: 'saleOrder',
        path: '/sale/order',
        component: () => import('@/views/sale/order/index.vue'),
        meta: {
          requiresAuth: true,
          title: '销售订单'
        }
      },
      {
        name: 'saveSaleOrder',
        path: '/sale/order/save',
        component: () => import('@/views/sale/order/saveOrder.vue'),
        meta: {
          requiresAuth: true,
          title: '录入销售订单'
        }
      },
      {
        name: 'saleOrderDetail',
        path: '/sale/order/detail',
        component: () => import('@/views/sale/order/modules/saleOrderDetailModule.vue'),
        meta: {
          requiresAuth: true,
          title: '销售订单详情'
        }
      }
    ]
  }
]
